home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr29 / ww009.zip / WW.CFG < prev    next >
Text File  |  1995-02-08  |  9KB  |  271 lines

  1. ## ww config file
  2.  
  3.  
  4. ### Plain #####################################################################
  5. # This is the default mode (all other modes inherit from this one).
  6. #
  7. Mode Plain           .
  8.     ExpandTabs     1
  9.     TabSize        8
  10.     AutoIndent     1
  11.     UndoRedo       1
  12.     Insert         1
  13.     Draw           0
  14.     StripChar      13
  15.     LineChar       10
  16.     AddCR          1
  17.     AddLF          1
  18.     LoadMargin     -1
  19.     Hilit          0
  20.     Indent         0
  21.     ForceNewLine   0
  22.     ShowTab        0
  23.     Indent         1
  24.     IndentMode     PLAIN
  25.  
  26.     Key      <F1>            ViewModeMap
  27.     Key      <F2>            FileSave
  28.     Key      <F3>            FileLoad
  29.     Key      <F4>            WinNext
  30.     Key      <F5>            WinZoom
  31.     Key      <F6>            FileNext
  32.     Key      <F7>            BlockBegin
  33.     Key      <F8>            BlockEnd
  34.     Key      <F10>           FileQuit
  35.     Key      <C-F2>          FileSaveAll
  36.     Key      <C-F4>          WinHSplit
  37.     Key      <C-F9>          RunCommand
  38.     Key      <S-F2>          FileSaveAs
  39.     Key      <S-F4>          WinPrev
  40.     Key      <S-F6>          FilePrev
  41.     Key      <S-F7>          MoveBlockStart
  42.     Key      <S-F8>          MoveBlockEnd
  43.     Key      <Left>          MoveLeft
  44.     Key      <Right>         MoveRight
  45.     Key      <C-Left>        MoveWordPrev
  46.     Key      <C-Right>       MoveWordNext
  47.     Key      <Up>            MoveUp
  48.     Key      <Down>          MoveDown
  49.     Key      <Home>          MoveLineStart
  50.     Key      <End>           MoveLineEnd
  51.     Key      <C-Home>        MovePageStart
  52.     Key      <C-End>         MovePageEnd
  53.     Key      <PgUp>          MovePageUp
  54.     Key      <PgDn>          MovePageDown
  55.     Key      <C-PgUp>        MoveFileStart
  56.     Key      <C-PgDn>        MoveFileEnd
  57.     Key      <A-Up>          ScrollUp
  58.     Key      <A-Down>        ScrollDown
  59.     Key      <A-Left>        ScrollLeft
  60.     Key      <A-Right>       ScrollRight
  61.     Key      <S-Left>        BlockExtendBegin MoveLeft       BlockExtendEnd
  62.     Key      <S-Right>       BlockExtendBegin MoveRight      BlockExtendEnd
  63.     Key      <C-S-Left>      BlockExtendBegin MoveWordPrev   BlockExtendEnd
  64.     Key      <C-S-Right>     BlockExtendBegin MoveWordNext   BlockExtendEnd
  65.     Key      <S-Up>          BlockExtendBegin MoveUp         BlockExtendEnd
  66.     Key      <S-Down>        BlockExtendBegin MoveDown       BlockExtendEnd
  67.     Key      <S-Home>        BlockExtendBegin MoveLineStart  BlockExtendEnd
  68.     Key      <S-End>         BlockExtendBegin MoveLineEnd    BlockExtendEnd
  69.     Key      <C-S-Home>      BlockExtendBegin MovePageStart  BlockExtendEnd
  70.     Key      <C-S-End>       BlockExtendBegin MovePageEnd    BlockExtendEnd
  71.     Key      <S-PgUp>        BlockExtendBegin MovePageUp     BlockExtendEnd
  72.     Key      <S-PgDn>        BlockExtendBegin MovePageDown   BlockExtendEnd
  73.     Key      <C-S-PgUp>      BlockExtendBegin MoveFileStart  BlockExtendEnd
  74.     Key      <C-S-PgDn>      BlockExtendBegin MoveFileEnd    BlockExtendEnd
  75.     Key      <A-S-Up>        BlockExtendBegin ScrollUp       BlockExtendEnd
  76.     Key      <A-S-Down>      BlockExtendBegin ScrollDown     BlockExtendEnd
  77.     Key      <A-S-Left>      BlockExtendBegin ScrollLeft     BlockExtendEnd
  78.     Key      <A-S-Right>     BlockExtendBegin ScrollRight    BlockExtendEnd
  79.     Key      <C-Ins>         BlockCopy
  80.     Key      <C-Del>         BlockKill
  81.     Key      <S-Ins>         BlockPaste
  82.     Key      <S-Del>         BlockCut
  83.     Key      <Enter>         LineNew
  84.     Key      <BackSp>        KillCharPrev
  85.     Key      <Ins>           ToggleInsert
  86.     Key      <Del>           KillChar
  87.     Key      <Tab>           InsertTab
  88.     Key      <C-Tab>         InsertTab
  89.     Key      <C-BackSp>      KillToLineStart
  90.     Key      <A-Ins>         LineInsert
  91.     Key      <A-S-Ins>       LineAdd
  92.     Key      <A-Del>         KillToLineEnd
  93.     Key      <A-BackSp>      Undo
  94.     Key      <A-S-BackSp>    Redo
  95.     Key      <C-Y>           KillLine
  96.     Key      <C-F>           SearchB
  97.     Key      <C-N>           SearchAgainB
  98.     Key      <C-J>           LineJoin
  99.     Key      <C-L>           LineSplit
  100.     Key      <C-T>           KillWord
  101.     Key      <C-Q>           InsertChar
  102.     Key      <C-R>           SearchReplaceB
  103.     Key      <C-C>           MoveToColumn
  104.     Key      <A-A>           BlockMarkStream
  105.     Key      <A-B>           ViewBuffers
  106.     Key      <A-C>           BlockCopy
  107.     Key      <A-E>           KillToLineEnd
  108.     Key      <A-F>           Search
  109.     Key      <A-G>           BlockCut
  110.     Key      <A-H>           BlockUnmark
  111.     Key      <A-I>           BlockIndent
  112.     Key      <A-J>           MoveToLine
  113.     Key      <A-K>           BlockMarkColumn
  114.     Key      <A-L>           BlockMarkLine
  115.     Key      <A-N>           SearchAgain
  116.     Key      <A-R>           SearchReplace
  117.     Key      <A-U>           BlockUnindent
  118.     Key      <A-X>           ExitEditor
  119.     Key      <C-O_C-M>       ChangeMode
  120.     Key      <C-O_C-I>       ToggleInsert
  121.  
  122. ### CMode #####################################################################
  123. #
  124. # CMode is derived from Plain mode
  125.  
  126. Mode CMode          Plain   .C.CPP.H.HPP.CC.CXX.HXX.
  127.      Indent         1
  128.      IndentMode     CMODE
  129.      Hilit          1
  130.      HilitMode      CMODE
  131.      TabSize        8
  132.  
  133.      Key      <Tab>           LineIndent MoveFirstNonWhite
  134.      Key      <}>             SelfInsert LineIndent
  135.      Key      <:>             SelfInsert LineIndent
  136.      Key      <#>             SelfInsert LineIndent
  137.      Key      <{>             SelfInsert LineIndent
  138.  
  139. ### REXX Mode #################################################################
  140. #
  141. # Note: This will hilit normal cmd files incorrectly...(FIXME)
  142.  
  143. Mode REXX           Plain   .CMD.
  144.      Hilit          1
  145.      HilitMode      REXX
  146.      TabSize        8
  147.  
  148. ### HTML Mode #################################################################
  149. #
  150. #
  151.  
  152. Mode HTML            Plain   .HTM.HTML.SGML.
  153.  
  154.      Hilit          1
  155.      HilitMode      HTML
  156.  
  157. ### MAKE Mode #################################################################
  158. #
  159. #
  160.  
  161. Mode MAKE            Plain   .MAK.
  162.      Hilit          1
  163.      HilitMode      MAKE
  164.  
  165. ### RC Mode ###################################################################
  166. #
  167. #
  168.  
  169. Mode RCFILE          Plain   .RC.DLG.
  170.      Hilit           1
  171.      HilitMode       CMODE
  172.  
  173. ############################################################################
  174. # Binary mode, for editing binary files.
  175. # Be sute to use -mBIN when loading a file, or this may not work!
  176. # BE CAREFUL WHEN USING THIS
  177.  
  178. Mode BIN             Plain   .EXE.DLL.A.LIB.OBJ.BIN.ZIP.TAR.Z.GZ.COM.
  179.      Hilit           0
  180.      Indent          0
  181.      ShowTab         1
  182.      StripChar       -1
  183.      LineChar        10
  184.      AddCR           0
  185.      AddLF           1
  186.      ExpandTabs      0
  187.      ForceNewLine    0
  188.      TabSize         8
  189.  
  190.  
  191. ###############################################################################
  192. # Colors
  193. ###############################################################################
  194.  
  195. #
  196. # Syntax is
  197. #
  198. # Color <color> <2-char-hex-value> 
  199. # The second value is the PC attribute.
  200. # First character is background, the second is foreground
  201. # Colors are as follows:
  202. # 0 - black
  203. # 1 - blue
  204. # 2 - green 
  205. # 3 - cyan
  206. # 4 - red
  207. # 5 - magenta
  208. # 6 - orange
  209. # 7 - white
  210. # 8-F are repeated bright 0-7
  211. #
  212. # NOTE: in Full-Screen sessions bright backgrounds will blink. (FIXME)
  213.  
  214. # Status line
  215.  
  216. Color Status.Normal    70
  217.  
  218. # Message line
  219.  
  220. Color Message.Normal   1F
  221. Color Message.Bold     1B
  222. Color Message.Error    14
  223.  
  224. # Entry field
  225.  
  226. Color Entry.Field      1B
  227. Color Entry.Prompt     1F
  228.  
  229. # Plain mode
  230.  
  231. Color Plain.Normal     1B
  232. Color Plain.Background 17
  233. Color Plain.Selected   30
  234.  
  235. # CMode
  236.  
  237. Color C.Normal         17
  238. Color C.Keyword        1F
  239. Color C.Number         1D
  240. Color C.HexNumber      1C
  241. Color C.NonAlpha       1B
  242. Color C.String         1E
  243. Color C.Comment        1A
  244. Color C.CPP            1A
  245.  
  246. # HTML mode
  247.  
  248. Color HTML.Normal      17
  249. Color HTML.Command     1B
  250. Color HTML.String      1E
  251. Color HTML.Char        1A
  252. Color HTML.Slashed     1F
  253.  
  254. # MAKE mode
  255.  
  256. Color MAKE.Normal      17
  257. Color MAKE.Comment     1E
  258. Color MAKE.DotCmd      1F
  259. Color MAKE.Command     1B
  260.  
  261. # REXX Mode
  262.  
  263. Color REXX.Normal      17
  264. Color REXX.Keyword     1F
  265. Color REXX.Number      1D
  266. Color REXX.NonAlpha    1B
  267. Color REXX.String      1E
  268. Color REXX.Comment     1A
  269.  
  270.